package com.fand.persistent.support;

import java.util.List;

/**
 * 路由配置
 * 
 * @author yaoHT
 */
public class RouterKeyConfig {
	/**
	 * 子节点
	 */
	private List<RouterKeyConfig> childs;
	
	/**
	 * 默认键名
	 */
	private String defaultKey;
	
	/**
	 * 表达式
	 */
	private String expression;
	
	/**
	 * 键名集合
	 */
	private List<String> keys;
	
	/**
	 * 前缀
	 */
	private String prefix;
	
	/**
	 * 目录键名
	 */
	private String targetKey;
	
	public List<RouterKeyConfig> getChilds() {
		return this.childs;
	}
	
	public String getDefaultKey() {
		return this.defaultKey;
	}
	
	public String getExpression() {
		return this.expression;
	}
	
	public List<String> getKeys() {
		return this.keys;
	}
	
	public String getPrefix() {
		return this.prefix;
	}
	
	public String getTargetKey() {
		return this.targetKey;
	}
	
	public void setChilds(final List<RouterKeyConfig> childs) {
		this.childs = childs;
	}
	
	public void setDefaultKey(final String defaultKey) {
		this.defaultKey = defaultKey;
	}
	
	public void setExpression(final String expression) {
		this.expression = expression;
	}
	
	public void setKeys(final List<String> keys) {
		this.keys = keys;
	}
	
	public void setPrefix(final String prefix) {
		this.prefix = prefix;
	}
	
	public void setTargetKey(final String targetKey) {
		this.targetKey = targetKey;
	}
}
